import { request } from './request'

// 店铺详情
const selectProducts = (params) => {
    return request('/spmk/selectProducts', params, 'POST')
}
//家人绑定
const deviceOpen = (params) => {
    return request('/device/deviceOpen', params, 'POST')
}

//健康数据
const selectByUserId = (params) => {
    return request('/jkjc/selectByUserId', params, 'POST')
}

// 健康检测
const selectRecording = (params) => {
    return request('/jkjc/selectOrder', params, 'GET')
}

// 查询检测记录详情
const selectTesting= (params) => {
    return request('/jkjc/selectAnswers', params , 'POST')
}
export {
    selectProducts,
    deviceOpen,
    selectByUserId,
    selectRecording,
    selectTesting
}